package com.shuosen.gmall.config;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)  //在方法上用
@Retention(RetentionPolicy.RUNTIME) //运行时
public @interface  LoginRequire {
    boolean autoRedirect() default  true ;
}
